package org.example.leetcode.common.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhc
 * @since 2024-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 头像
     */
    private String pic;

    /**
     * 性别
     */
    private String gender;

    /**
     * 个人介绍
     */
    private String introduction;

    /**
     * 就读学校
     */
    private String school;
    private Long roleId;

    @TableLogic
    private String isDeleted;

    private Date creatorTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private String creator;

    private String modifier;
    private String password;
    private String isNewUser;

    private String relativeUser;

}
